﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Configuration;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;

using System.IO;
using BootyBay.Models;

namespace BootyBay.Package
{
    public class PackageAnalyzeResult
    {
        public ApplicationVersionInfo VersionInfo { get; set; }
        public Stream LogoUrl_Store_Stream { get; set; }
        public Stream LogoUrl_150x150_Stream { get; set; }
        public Stream LogoUrl_30x30_Stream { get; set; }
        public Stream LogoUrl_310x150_Stream { get; set; }
        public Stream LogoUrl_310x310_Stream { get; set; }
        public Stream LogoUrl_70x70_Stream { get; set; }
    }
    public class PackageBase
    {
        protected static string _constr;
        protected static CloudStorageAccount _storageAccount;
        protected static CloudBlobContainer _blobContainer;
        static PackageBase()
        {
            _constr = ConfigurationManager.ConnectionStrings["StorageAccount"].ToString();
            _storageAccount = CloudStorageAccount.Parse(_constr);
            _blobContainer = _storageAccount.CreateCloudBlobClient().GetContainerReference("bootybaystore");
        }
    }
}
